# -*- mode: snippet -*-
# name: tikz: tree
# key: tikz
# group: demos
# expand-env: ((yas-indent-line 'fixed))
# --
\documentclass{article}

% --- packages ---
\usepackage{helvet}
\usepackage[eulergreek]{sansmath}  
\renewcommand{\familydefault}{\sfdefault}  % using sans serif as default
\usepackage{latexsym, amsmath, amssymb, amsfonts, mathrsfs, arydshln, mathtools}

% --- TikZ/sub-packages, def usetikzlibrary---
\usepackage{tikz}

% --- preview setup ---
\usepackage[graphics,tightpage,active]{preview}
\setlength{\PreviewBorder}{2pt}
\PreviewEnvironment{tikzpicture}
% --- (DO NOT EDIT!) ---

% --- main ---
\begin{document}

% --- tikz main body
\begin{tikzpicture}[sibling distance=10em,
  every node/.style = {align=center}]

  \node {Formulas}
  child { node {single-line} }
  child { node {multi-line}
    child { node {aligned at}
      child { node {relation sign} }
      child { node {several places} }
      child { node {center} } }
    child { node {first left,\\centered,\\last right} } };
\end{tikzpicture}

\end{document}
